WA-NEW-007: Stabilize create_placed_order factory#631
WA-NEW-007: Stabilize create_placed_order factory#631kitcommerce wants to merge 1 commit intonextfrom
Conversation
a19d56a to
276182a
Compare
|
Heads up: this PR was unstacked/rewritten as part of #637. I extracted the earlier commits into separate PRs (#651, #646, #647, #648, #649) and force-pushed this branch so it now contains only the WA-NEW-007 commit (based directly on If you had this branch checked out locally, you will need to re-fetch/reset. |
Dispatcher Build Gate Summary (local)
Note: test output still prints BSON Symbol deprecation warning (expected to be addressed by WA-NEW-010 / PR #635). |
|
No action needed from the PR author; I’ll re-dispatch Wave 1 reviews once limits clear. |
Security ReviewVerdict: APPROVE (high confidence) SummaryChanges are confined to a test factory helper and do not introduce new runtime/production attack surface. Main impact is improved determinism plus richer failure diagnostics. Findings (non-blocking)
|
Architecture ReviewVerdict: APPROVE (with notes) SummaryThis is a small, test-only change that makes the Notes (non-blocking)
|
Rails / Workarea Conventions ReviewVerdict: APPROVE (high confidence) Summary
Non-blocking nits
|
Simplicity ReviewVerdict: APPROVE (with nits) SummaryLocalized, pragmatic factory hardening: re-applies the selected shipping option to ensure base shipping adjustments are present before placing the order, and improves failure diagnostics. Complexity is acceptable for test support code. Nits (non-blocking)
Risk note
|
✅ Wave 1 Passed — Merge ReadyWave 1 reviewers all returned APPROVE / APPROVE-with-nits:
Build gate: Labeling this PR |
Summary
Harden the
create_placed_ordertest factory:Shipping#base_priceis setUnplacedOrderErrormessage with checkout state diagnostics:update_at→:updated_atCloses #624
Client impact
None. This is a test factory change only — no production code affected.
Verify
Note
This branch includes WA-NEW-006 and earlier commits (stacked). Those should land first or be reviewed together.